Action hook 'after-{$taxonomy}-table'

in WP Core File wp-admin/edit-tags.php at line 679

View Source

after-{$taxonomy}-table

Action Hook
Description
Fires after the taxonomy list table. The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug. Possible hook names include: - `after-category-table` - `after-post_tag-table`

Hook Information

File Location wp-admin/edit-tags.php View on GitHub
Hook Type Action
Line Number 679

Hook Parameters

Type Name Description
string $taxonomy The taxonomy name.

Usage Examples

Basic Usage
<?php
// Hook into after-{$taxonomy}-table
add_action('after-{$taxonomy}-table', 'my_custom_function', 10, 1);

function my_custom_function($taxonomy) {
    // Your custom code here
}

Source Code Context

wp-admin/edit-tags.php:679 - How this hook is used in WordPress core
<?php
 674   *
 675   * @since 3.0.0
 676   *
 677   * @param string $taxonomy The taxonomy name.
 678   */
 679  do_action( "after-{$taxonomy}-table", $taxonomy );  // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
 680  
 681  if ( $can_edit_terms ) {
 682  	?>
 683  </div>
 684  </div><!-- /col-right -->

PHP Documentation

<?php
/**
 * Fires after the taxonomy list table.
 *
 * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug.
 *
 * Possible hook names include:
 *
 *  - `after-category-table`
 *  - `after-post_tag-table`
 *
 * @since 3.0.0
 *
 * @param string $taxonomy The taxonomy name.
 */
Quick Info
  • Hook Type: Action
  • Parameters: 1
  • File: wp-admin/edit-tags.php
Related Hooks

Related hooks will be displayed here in future updates.